package com.example.spacetimediary;

import android.app.Activity;
import android.view.WindowManager;
import android.view.Window;

public class MyWindow {
	public static void fullScreen(Activity activity) {
		activity.getWindow().setFlags(
				WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
	}

	public static void noTiltleScreen(Activity activity) {
		activity.requestWindowFeature(Window.FEATURE_NO_TITLE);
	}
}
